<template>
    <ul class="news-list">
        <li>编号：{{ router.params.id }}</li>
        <li>标题：{{ router.params.title }}</li>
        <li>内容：{{ router.params.summary }}</li>
    </ul>
</template>

<script lang="ts" name="Detail" setup>
    import { useRoute } from 'vue-router'
    const router = useRoute()

</script>

<style scoped>

</style>
